/* 评论搜索结果样式 */
.comment-result {
    border-left: 4px solid #6c757d !important;
    background-color: #f8f9fa;
}

.content-type-comment {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.search-section-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    color: #334155;
    font-weight: 600;
}

.comment-text {
    font-style: italic;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid #6c757d;
    color: #495057;
}

.content-reference {
    font-size: 0.85rem;
    color: #6c757d;
}

/* 高亮显示匹配的评论 */
.highlight-comment {
    animation: highlight-pulse 2s ease-in-out;
}

/* 高亮显示内容 */
.highlight-content {
    animation: highlight-content-pulse 3s ease-in-out;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5) !important;
    border-left: 4px solid #3b82f6 !important;
    position: relative;
    z-index: 10;
}

@keyframes highlight-pulse {
    0% { background-color: #fff; }
    50% { background-color: #e2f0ff; }
    100% { background-color: #fff; }
}

@keyframes highlight-content-pulse {
    0% { background-color: #fff; }
    30% { background-color: #dbeafe; }
    70% { background-color: #dbeafe; }
    100% { background-color: #fff; }
}

/* 内容链接样式 */
.content-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.content-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 搜索结果分组 */
.search-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

/* 搜索结果计数 */
.search-result-count {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    color: #3b82f6;
    font-weight: 500;
    text-align: center;
}